using UnityEngine;
using System.Collections;

/**
 * Script of camera behaviour description.
 * The purpose of this class is to copy a target's position.
 * The target will be a GameObject.
 * @author Benjamin Bruneau 
 */
public class CameraBehaviourScript : MonoBehaviour 
{
	
	public Transform _target; //To follow
	
	/**
	 * Called every frame if the behaviour is enabled.
	 * @return void
	 */
	void LateUpdate()
	{
		//Position Copy
   		transform.position = _target.position;
	}
}
